#include "Row.h"
#include "RowNode.h"
#include <iostream>
#include <cstring>
#include <cmath>
#include <cstdio>
#include <cstdlib>

using namespace std;

#define MAXLENGTH 512

void Row :: InsertText (int x, int y, char temp)
{
	RowNode* p;
	p = this;
	while(x--)
	{
		p = p.NextNode();
	}
	p.SetText(y, temp);
}
void Row :: DeleteText (int x, int y)
{
	RowNode* p;
	p = this;
	while(x--)
	{
		p = p->NextNode();
	}
	p.SetText(y-1, '\0');
}
